<div class="page  has-sidebar-left height-full">
  <header class="blue accent-3 relative">
        <div class="container-fluid text-white">
            <div class="row p-t-b-10 ">
                <div class="col">
                    <h4>
                        <i class="icon-user"></i> 会员即将到期
                    </h4>
                </div>
            </div>
            <div class="row">
                <ul class="nav responsive-tab nav-material nav-material-white">
                    

                  
              <li> <a class="nav-link "  href="{:url('vip/index')}" ><i class="icon icon-drivers-license"></i>用户列表</a> </li>
                <li> <a class="nav-link "  href="{:url('user/index')}" ><i class="icon icon-drivers-license"></i>代理列表</a> </li> 
                  
                  
                  <li><a class="nav-link active" href="{:url('user/daoqi')}"><i class="icon icon-donut_small"></i> 会员即将到期</a></li>
              </ul>
            </div>
        </div>
    </header>
  
  
     <div class="container-fluid animatedParent animateOnce">
        <div class="tab-content my-3">
            <div class="tab-pane animated fadeInUpShort show active go">
                <div class="row my-3">
                    <div class="col-md-12">
                      
                      
                      
                      
                      <div class="card ">
                      
                      
                      <div class="card-body"><div class="card-body tab-pane step-content" style="display: block;">
                        <div class="card-title">会员即将到期 </div>
                  

                        
       
                      
                      
                      
                      
                            <div class="table-responsive">
                              
                              
                                    <table class="table table-hover r-0">
                                        <thead>
                                        <tr class="no-b">
                                          <th>账户</th>
                                          <th>创建时间</th>
                                          <th>最后登陆时间</th>
                                          <th>会员到期时间</th>
                                          <th>剩余金额</th>
                                        </tr>
                                        </thead>

                                      
                                      
                                      
                                        <tbody>
                                          
                                          
                                          
                                         {volist name="list" id="vo"}
                                          <tr>
										<td> <small>{$vo.username}</small></td>
                                       <td> <small><span class="badge badge-light r-3">{$vo.ctime|date="Y-m-d H:i:s",###}</span></small></td>
										<td> <small><span class="badge badge-light"> <?php  if($vo['logintime']=='0')    {     echo '未登陆';   }else{     echo date('Y-m-d H:i:s',$vo['logintime']);   }   ?></span> </small></td>
                                      <td> <small>
                                       
                                <?php
                                if($vo['type']=='1')
                                {
                                echo '<span class=" btn btn-Secondary btn-xs  "> <i class="icon-beenhere "></i> 永久会员</span>';
                                }else{
                                if($vo['lasttime']=='0')
                                    {
                                        echo '<span class=" btn btn-Danger btn-xs  ">未充值</span>';
                                    }elseif($vo['lasttime']<time()){
                                        echo ' <span class=" btn btn-Warning btn-xs ">已于'.date('Y-m-d',$vo['lasttime']).'过期</span> <!--  <span style="color:red">'.date('Y-m-d H:i:s',$vo['lasttime']).'</span>-->';
                                }else{
                                echo       '<span class=" btn btn-Primary btn-xs  ">'.date('Y-m-d H:i:s',$vo['lasttime']).'</span>';
                                }
                                }

                                ?>
                                              </small></td>
                                            <td> <small> {$vo.money}</small></td>
                                            
                                            
                                           
                                            
                                        </tr>
								 {/volist}  
          
                                        
                                        

                                        </tbody>
                                    </table>

                            </div>        
                        </div>
                {$list->render()}
              
              </div>
         
          
                
            </div>

              
              
              
              

</div>
  
 